package com.samehope.ar.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author LD
 * @since 2020/1/7
 */
@Data
public class PatrolTaskPlanUpdateParam {

    @NotNull(message = "任务ID不能为空")
    private Long id;

//    @NotBlank(message = "任务编号不能为空")
//    private String taskNo;

    @NotBlank(message = "任务名称不能为空")
    private String taskName;

    @NotNull(message = "任务类型不能为空")
    private Integer taskType;

    private Long routeId;

    private String pointIds;

    private Long teamId;

    private String execBys;

    @NotBlank(message = "执行开始日期不能为空")
    private String startDate;

    @NotBlank(message = "执行结束日期不能为空")
    private String endDate;

    private String execWeek;

    @NotNull(message = "执行次数不能为空")
    private Integer execCount;

    @NotBlank(message = "每日执行开始时间不能为空")
    private String execStartTime;

    @NotBlank(message = "每日执行结束时间不能为空")
    private String execEndTime;

    @NotNull(message = "是否上报定位不能为空")
    private Integer isRecordLocation;

    private String remarks;
}
